# == Schema Information
#
# Table name: design_cases
#
#  id                     :integer          not null, primary key
#  title                  :string
#  desc                   :string
#  case_type              :string
#  case_date              :date
#  user_id                :integer
#  created_at             :datetime         not null
#  updated_at             :datetime         not null
#  addess                 :string
#  budget                 :string
#  total_amount           :string
#  area                   :string
#  window_and_door_budget :string
#  is_uploaded            :boolean
#

class DesignCase < ApplicationRecord

  belongs_to :user
  has_many :design_case_attachments, :dependent => :delete_all

end
